package com.h3c.nem.mapstruct;

import com.h3c.nem.dto.TbOfferArchieveDTO;
import com.h3c.nem.entity.TbOfferArchieve;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author chenyifan
 * @date 2022/6/6 16:52
 */
@Mapper
public interface TbOfferArchieveMapstruct {
    TbOfferArchieveMapstruct INSTANCE = Mappers.getMapper(TbOfferArchieveMapstruct.class);

    /**
     * DTO列表转成实体类列表
     * @param patentDTOS
     * @return
     */
    List<TbOfferArchieve> DTOList2EntityList(List<TbOfferArchieveDTO> patentDTOS);
}
